<me:UIVADB x:Class="WPFExcelReport.TVA11"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                     xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                     xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"                  
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVADB.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:SDKEYCONV x:Key="sd"/>
    </me:UIVADB.Resources>
    <WrapPanel >
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=洗涤:}}"
                           />
            <SD:K0433 Grid.Column="1"
                       Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                           KEY="{Binding MW,ElementName=TV}"
                          />
            <TextBlock Grid.Column="2"  Width="80" 
                        Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource nbv}}"
                       Text="{Binding MW,ElementName=TV,Converter={StaticResource sd},ConverterParameter=0433}"/>
        </Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=漂白:}}"/>
            <SD:K0434 Grid.Column="1"
                      Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                         KEY="{Binding MB,ElementName=TV}"
                          />
            <TextBlock Grid.Column="2" Width="80"
                       Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource nbv}}"
                       Text="{Binding MB,ElementName=TV,Converter={StaticResource sd},ConverterParameter=0434}"/>
        </Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=干燥:}}"/>
            <SD:K0435 Grid.Column="1"
                      Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                           KEY="{Binding MD,ElementName=TV}"
                          />
            <TextBlock Grid.Column="2" Width="80"
                       Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource nbv}}"
                       Text="{Binding MD,ElementName=TV,Converter={StaticResource sd},ConverterParameter=0435}"/>
        </Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=熨烫:}}"/>
            <SD:K0436 Grid.Column="1"
                      Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                           KEY="{Binding MS,ElementName=TV}"
                          />
            <TextBlock Grid.Column="2" 
                       Width="80"
                       Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource nbv}}"
                       Text="{Binding MS,ElementName=TV,Converter={StaticResource sd},ConverterParameter=0436}"/>
        </Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=专业维护:}}"/>
            <SD:K0437 Grid.Column="1"
                      Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                           KEY="{Binding MZ,ElementName=TV}"
                          />
            <TextBlock Grid.Column="2" 
                       Width="80"
                       Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource nbv}}"
                       Text="{Binding MZ,ElementName=TV,Converter={StaticResource sd},ConverterParameter=0437}"/>
        </Grid>
    </WrapPanel>
</me:UIVADB>
